<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'horizontalForm',
    'type' => 'horizontal',
    'enableAjaxValidation' => false,
//    'action'=>Yii::app()->createUrl('');
        ));
?>
<legend style="text-align: center">
    SSPD
    <label style="font-size: 20px">Surat Setoran Pajak Daerah </label>
</legend>
<br>

<?php echo $form->errorSummary($model); ?>
<div class="form">
    <br>   
    <div class="alert alert-success">A. </div>
    <div class="control-group ">
        <label class="control-label" >Kelompok Pajak </label>
        <div class="controls">
            <input type="text" class="span3">
            <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'type' => 'info',
                'label' => 'F1',
                'htmlOptions' => array('id' => 'btn_pilih_lokasi')
            ));
            ?>
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">Nama Rekening </label>
        <div class="controls">
            <input type="text" class="span3">
            <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'type' => 'info',
                'label' => 'F2',
                'htmlOptions' => array('id' => 'btn_pilih_lokasi')
            ));
            ?>
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Tanggal SKPD</label>

        <div class="span2" style="margin:0;">
            <div class="input-group">
                <span class="input-group-addon"><i class="icon-calendar"></i></span>
                <?php
                $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                    'model' => $model,
                    'attribute' => 'tanggal_kk',
                    // additional javascript options for the date picker plugin
                    'options' => array(
                        'yearRange' => 'c-50:c+20',
                    ),
                ));
                ?>
            </div>
        </div>

    </div>
    <div class="control-group">
        <label class="control-label">Masa Pajak </label>
        <div class="controls">    
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'Januari',
                '1' => 'Februari',
                '2' => 'Maret',
                '3' => 'April',
                    ), array('class' => 'span3'));
            ?>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">Tahun Pajak </label>
        <div class="controls">    
            <input type="text" class="span2">
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label">Nomor Kohir </label>
        <div class="controls">
            <input type="text" class="span2">
            <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'type' => 'info',
                'label' => 'F3',
                'htmlOptions' => array('id' => 'btn_pilih_lokasi')
            ));
            ?>
        </div>
    </div>

    <div class="kanan" style="margin-left:50px;">

        <div class="control-group ">
            <label class="control-label"><b>NPWPD</b></label>

            <input type="text" class="span1" style="width: 30px;" readonly >
            <input type="text" class="span1" style="width: 20px;" readonly >
            -
            <input type="text" class="span2" readonly >
            -
            <input type="text" class="span1" style="width: 20px;" readonly >
            -
            <input type="text" class="span1" style="width: 30px;" readonly >
        </div>


        <div class="control-group ">
            <label class="control-label"><b>Wajib Pajak </b></label>
            <div class="controls">
                <input type="text" class="span4" readonly >      
            </div>
        </div>


        <div class="control-group ">
            <label class="control-label">- Alamat </label>
            <div class="controls">
                <input type="text" class="span4" readonly >
            </div>
        </div>
        <div class="control-group ">
            <label class="control-label">- Kelurahan/Desa </label>
            <div class="controls">
                <input type="text" class="span3" readonly >
            </div>
        </div>
        <div class="control-group ">
            <label class="control-label">- Kecamatan </label>
            <div class="controls">
                <input type="text" class="span3" readonly >
            </div>
        </div>
        <div class="control-group ">
            <label class="control-label">- Kabupaten </label>
            <div class="controls">
                <input type="text" class="span3" readonly >
            </div>
        </div>
    </div>

</div>
<br>
<div class="alert alert-success">B. SKPD </div>
<div class="form">
    <br>

    <div class="control-group ">
        <label class="control-label" >Omzet </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0.00" >

        </div>
    </div>
    <div class="control-group ">
        <label class="control-label" >Tarif </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0" > %
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Total Pajak </label>
        <br>
        <input type="text" class="span2" placeholder="0.00" >
    </div>

    <div class="control-group" >
        <label class="control-label" >Total Setoran </label>
        <br>
        <input type="text" class="span2" placeholder="0.00" >
    </div>

    <div class="control-group ">
        <label class="control-label">Bendahara Penerima </label>
        <div class="controls">
            <input type="text" class="span2">
            <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'type' => 'info',
                'label' => 'F2',
                'htmlOptions' => array('id' => 'btn_pilih_lokasi')
            ));
            ?>
        </div>
    </div>
        <div class="control-group ">
        <label class="control-label" >Tanggal Setor</label>

        <div class="span2" style="margin:0;">
            <div class="input-group">
                <span class="input-group-addon"><i class="icon-calendar"></i></span>
                <?php
                $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                    'model' => $model,
                    'attribute' => 'tanggal_kk',
                    // additional javascript options for the date picker plugin
                    'options' => array(
                        'yearRange' => 'c-50:c+20',
                    ),
                ));
                ?>
            </div>
        </div>

    </div>

    <div class="control-group ">
    <label class="control-label" >Pilih </label>
        <div class="controls">                
           <?php echo $form->radioButtonList($model, 'nomor_kk', array(
            'Priview',
            'Print',
            )); ?>
        </div>
</div>

</div>







<div class="form-actions">
    <?php
    $this->widget('bootstrap.widgets.TbButton', array(
        'buttonType' => 'submit',
        'type' => 'primary',
        'label' => $model->isNewRecord ? 'Print' : 'Save',
    ));
    ?>
</div>


<?php $this->endWidget(); ?>